package com.iwe.crm.workbench.service.impl;

import com.iwe.crm.workbench.bean.PieVo;
import com.iwe.crm.workbench.mapper.ChartMapper;
import com.iwe.crm.workbench.service.ChartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.xml.ws.soap.Addressing;
import java.util.List;
import java.util.Map;

@Service
public class ChartServiceImpl implements ChartService {

    @Autowired
    private ChartMapper chartMapper;

    @Override
    public List<PieVo> barChart() {
        return chartMapper.tranChart();
    }
}
